home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / sunos4-0shr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.4 KB  |  51 lines

  1. /* Synched up with: FSF 19.29. (Split off from sunos4shr.h.) */
  2.  
  3. /* This file permits building Emacs with a shared libc on Sunos 4.
  4.    To make this work, you must completely replace your C shared library
  5.    using one of the SunOS 4.1.x jumbo replacement patches from Sun.
  6.    Here are the patch numbers for Sunos 4.1.3:
  7.    100890-10   SunOS 4.1.3: domestic libc jumbo patch
  8.    100891-10   SunOS 4.1.3: international libc jumbo patch  */
  9.  
  10.  
  11. #include "sunos4-0.h"
  12.  
  13. /* Say that the text segment of a.out includes the header;
  14.    the header actually occupies the first few bytes of the text segment
  15.    and is counted in hdr.a_text.  */
  16.  
  17. /*  Misleading!  Actually gets loaded after crt0.o */
  18. #undef START_FILES
  19. #define START_FILES pre-crt0.o
  20.  
  21. /*
  22.  *  Kludge!  can't get at symbol "start" in std crt0.o
  23.  *  Who the #$%&* decided to remove the __ characters!
  24.  *  Someone needs to fix this in sysdep.c  with an #ifdef BROKEN_START in
  25.  * sysdep.c.  We do not use this address so any value should do really.  Still
  26.  *  may need it in the future?
  27.  */
  28. #define BROKEN_START
  29. #ifndef TEXT_START
  30. #define TEXT_START 0x2020
  31. #endif
  32.  
  33. #undef UNEXEC
  34. #define UNEXEC    unexsunos4.o
  35. #ifndef RUN_TIME_REMAP
  36. #define RUN_TIME_REMAP
  37. #endif
  38. #define ORDINARY_LINK
  39.  
  40. #undef LD_SWITCH_SYSTEM
  41.  
  42. #undef    SYSTEM_MALLOC
  43. #ifndef GNU_MALLOC
  44. #define    GNU_MALLOC
  45. #endif
  46. #ifndef REL_ALLOC
  47. #define    REL_ALLOC
  48. #endif
  49.  
  50. #undef USE_DL_STUBS
  51.